<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login</title>
</head>
<body>
  <h1>我是服务器:${pageContext.request.localPort}</h1>
<h2><span>sessionid:${sessionid}</span></h2>
  <span style="color: red">${msg}</span>
<div>
    <form method="post" action="index">
    <table >
        <tr><td>用户名</td><td><input name="username" type="text"></td></tr>
        <tr><td>密码</td><td><input name="pwd" type="text"></td></tr>
        <tr><td colspan="2"><input type="submit" value="登录"></td></tr>
    </table>
    </form>
</div>
</body>
</html>
